package com.transaction.manage;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
@MapperScan("com.transaction.manage.mapper")
@EnableAsync
@EnableScheduling
public class ManageApplication {
    private static Logger LOGGER = LoggerFactory.getLogger(ManageApplication.class);

    public static void main(String[] args) {
        LOGGER.info("销售管理系统启动。。。");
        SpringApplication.run(ManageApplication.class, args);
    }

}
